package fr.miage.ageco.dataaccess.services;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import fr.miage.ageco.dataaccess.bo.Agence;
import fr.miage.ageco.dataaccess.mappers.AgenceMapper;

@Service
@Transactional
public class AgenceService {

	@Autowired
	private AgenceMapper agenceMapper;

	@Transactional
	public List<Agence> getAllAgences() {
		return agenceMapper.getAllAgences();
	}

}
